Vcenter VmTemplate LibraryItems CreateSpecVmHomeStorage
The Vcenter VmTemplate LibraryItems CreateSpecVmHomeStorage schema defines the storage specification for a virtual machine template's configuration and log files.
This schema was added in vSphere API 6.8.
{
"datastore": "string",
"storage_policy": {
"type": "string",
"policy": "string"
}
}
Identifier of the datastore for the virtual machine template's configuration and log files.
This property was added in vSphere API 6.8.
This property is currently required.
When storage_policy is also specified and is incompatible with the datastore, then the virtual machine template will be flagged as being out of compliance with the specified storage policy.
When clients pass a value of this schema as a parameter, the property must be an identifier for the resource type: Datastore
. When operations return a value of this schema as a response, the property will be an identifier for the resource type: Datastore
.
Storage policy for the virtual machine template's configuration and log files.
This property was added in vSphere API 6.8.
If missing or null
, datastore must be specified and the virtual machine template's configuration and log files are created with the default storage policy associated with the datastore.